package com.xuan.system.domain.sysUser.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.xuan.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 管理员用户表
 * @TableName sys_user
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="tb_sys_user")
@Data
public class SysUser extends BaseEntity implements Serializable {
    /**
     * 管理员id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(name = "管理员id")
    private Long userId;

    /**
     * 用户名
     */
    private String nickName;

    /**
     * 账户名
     */
    private String userAccount;

    /**
     * 账户密码
     */
    private String password;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}